package com.ktgj.train.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 国家对象 train_country
 * 
 * @author ruoyi
 * @date 2021-11-29
 */
public class TrainCountry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 国家代码 */
    @Excel(name = "国家代码")
    private String country;

    /** 国家名称 */
    @Excel(name = "国家名称")
    private String countryname;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String englishname;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setCountryname(String countryname) 
    {
        this.countryname = countryname;
    }

    public String getCountryname() 
    {
        return countryname;
    }
    public void setEnglishname(String englishname) 
    {
        this.englishname = englishname;
    }

    public String getEnglishname() 
    {
        return englishname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("country", getCountry())
            .append("countryname", getCountryname())
            .append("englishname", getEnglishname())
            .toString();
    }
}
